package com.techstar.ats.type;

public enum TrainModeDrive implements Enumerated {
	DRIVE_MODE_AM(0x10000000, "CBTC模式下有人自动驾驶模式"),
	DRIVE_MODE_CM(0x20000000, "CBTC模式下人工驾驶模式"),
	DRIVE_MODE_RMF(0x30000000, "RM模式前进"),
	DRIVE_MODE_DTO(0x40000000, "DTO无人驾驶模式"),
	DRIVE_MODE_ATB(0x50000000, "ATB自动折返模式"),
	DRIVE_BLOCK_AM(0x60000000, "点式有人自动驾驶模式"),
	DRIVE_BLOCK_CM(0x70000000, "点式人工驾驶模式 "),
	DRIVE_MODE_RMR(0x80000000, "RM模式后退"),
	DRIVE_MODE_WASH(0x90000000, "洗车模式");

	private final int value;
	private final String literal;

	TrainModeDrive(int value, String literal) {
		this.value = value;
		this.literal = literal;
	}

	public int value() {
		return this.value;
	}

	public String literal() {
		return this.literal;
	}

	public static TrainModeDrive valueOf(int value) {
		return Enumerated.valueOf(TrainModeDrive.class, value);
	}
}
